<template>
	<view>
		<!-- 给组件设置ref -->
		<level1 ref="level" @ok="ok"></level1>
		<level3 ref="leve3"></level3>
		<button size="20" style="background-color: aqua;width: 400rpx;height: 400rpx;" @tap="$refs.level.show"></button>
	</view>
</template>

<script>
	import level1 from './level1Linkage.vue'
	import level3 from './level3Linkage.vue'
	export default {
		data() {
			return {

			}
		},
		components: {
			level1,
			level3
		},
		mounted() {},
		methods: {
			ok(e) {
				console.log(e)
			}
		}
	}
</script>

<style>

</style>
